import { createRouter, createWebHistory } from 'vue-router';
import LoginPage from "../views/LoginPage.vue";
import ErrorPage from "../views/ErrorPage.vue";



const routes = [
  {
    path: "/login",
    name: "",
    component: LoginPage
  },
  {
    path: "/error",
    name: "ErrorPage",
    component: ErrorPage
  }
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
});

export default router;
